package com.softstao.guoyu.mvp.interactor;

import com.softstao.guoyu.global.APIInterface;
import com.softstao.guoyu.model.Update;

import rx.functions.Action1;

/**
 * Created by vaikus on 2017/8/16.
 */

public class UpdateInteractor extends BaseInteractor {
    public void update(Action1<Object> action1){
        builder.setAction(action1)
                .setUrl(APIInterface.UPDATE_APP)
                .setType(Update.class)
                .getVolley()
                .get();
    }
}
